﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Text;
using ExtAspNet;
using System.IO;

namespace HY.WEB.OA
{
    public partial class _reset_data : System.Web.UI.Page //PageBase
    {
        public string whe = "", stype = "";
        public string us, um, tab = "review_charge";
        protected void Page_Load(object sender, EventArgs e)
        {  
            us=Session["ID"].ToString();
            um = Session["user"].ToString();

            if (!IsPostBack)
            {           
               
               
            }
        }






        protected void btclear_Click(object sender, EventArgs e)
        {

            DAL.DbHelperSQL.ExecuteNonQuery("EXEC auto_clear_sales");

            Alert.Show("清理数据结束");
        }

        protected void btsales_Click(object sender, EventArgs e)
        {

            DAL.DbHelperSQL.ExecuteNonQuery("EXEC auto_update_username");
            Alert.Show("更新业务数据结束");

        }
    
    }
}
